package com.lcf.system.dto.user;

import com.lcf.framework.annotation.DictFile;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户表(User)表实体类
 *
 * @author lcf
 * @since 2025-02-19 13:27:55
 */
@Data
@NoArgsConstructor
public class SysUserDTO {
    //姓名
    @Schema(description = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;
    //头像
    @Schema(description = "头像")
    @DictFile
    private String headUrl;
}

